package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.Cart;

public interface Cart_dao {
	
	public Cart getcartByid(@Param("userId") Integer userId,@Param("productId") Integer productId);
	public List<Cart> cartlist(Integer userId);
	public boolean add_ToCart(Cart cart);
	public boolean remove_FromCart(@Param("productId") Integer productId,@Param("userId") Integer userId);
	public boolean update_InCart(Cart cart);
}
